package com.sys.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.core.entity.AbstractEntity;
/**
 *  实体类： 查询定义输入、输出定义
 *
 */
@Entity 
@Table( 
		uniqueConstraints = {
			@UniqueConstraint(columnNames = {"INOUT_TYPE","STATEMENT_ID","DATA_FIELD"})
		}	
	)
public class TB_SYS_STATEMENT_INOUT extends AbstractEntity { 
	private static final long serialVersionUID = 1L;
	/**TB_SYS_STATEMENT.ID**/
	@Column (length=32,nullable=false) 
	private String STATEMENT_ID;
	/**输入输出类型：输入（INPUT）、输出(OUTPUT)**/ 
	@Column (length=32 ) 
	private String INOUT_TYPE;
	/**序号**/ 
	private int XH;
	/**字段名**/
	@Column (length=50,nullable=false) 
	private String DATA_FIELD; 
	/**字段显示名**/ 
	private String FIELD_LABEL;
	/**数据类型**/
	@Column (length=50 ) 
	private String DATA_TYPE;  
	/**字段说明**/ 
	private String FIELD_NOTES;
	public String getSTATEMENT_ID() {
		return STATEMENT_ID;
	}
	public void setSTATEMENT_ID(String sTATEMENT_ID) {
		STATEMENT_ID = sTATEMENT_ID;
	}
	public String getINOUT_TYPE() {
		return INOUT_TYPE;
	}
	public void setINOUT_TYPE(String iNOUT_TYPE) {
		INOUT_TYPE = iNOUT_TYPE;
	}
	public int getXH() {
		return XH;
	}
	public void setXH(int xH) {
		XH = xH;
	}
	public String getDATA_FIELD() {
		return DATA_FIELD;
	}
	public void setDATA_FIELD(String dATA_FIELD) {
		DATA_FIELD = dATA_FIELD;
	}
	public String getFIELD_LABEL() {
		return FIELD_LABEL;
	}
	public void setFIELD_LABEL(String fIELD_LABEL) {
		FIELD_LABEL = fIELD_LABEL;
	}
	public String getDATA_TYPE() {
		return DATA_TYPE;
	}
	public void setDATA_TYPE(String dATA_TYPE) {
		DATA_TYPE = dATA_TYPE;
	}
	public String getFIELD_NOTES() {
		return FIELD_NOTES;
	}
	public void setFIELD_NOTES(String fIELD_NOTES) {
		FIELD_NOTES = fIELD_NOTES;
	}  
	  
}
